import java.util.Vector;

import sdljava.SDLException;


public class ConstructionLocations extends Location{
	protected Double length;
	protected Double width;
	protected Double height;
	protected String shape;
	protected Vector<String> type;
	protected Vector<Chosen> userAnswer;
	protected Input input = null;
	protected Resources siteResources;
	
	public ConstructionLocations(GameWindow gameWindow, String imageFile) throws SDLException{
		super(gameWindow, imageFile);
		userAnswer = new Vector<Chosen>();
		type = new Vector<String>();
	}

	public void setResources(Resources resource) {
		// TODO Auto-generated method stub
		this.siteResources = resource;
	}
	
	public void setAnswers(Double Length, Double Width, String Type, String Shape){
	}
	public Boolean check(){
		return null;
	}
	public void resetUserAnswer(){
		if(!userAnswer.isEmpty()){
			userAnswer.removeAllElements();
		}
	}
	public void populateSVector() throws SDLException{
		//button sprites are created
		ImageData Menudimensions = new ImageData(2, horizontal, 363, 113, 0, 0);
		Menudimensions.setZoom(0.75, 0.75);
		ImageData Builddimensions = new ImageData(2, horizontal, 363, 113, 0, 113);
		Builddimensions.setZoom(0.75, 0.75);
		
		ButtonSprite tempSprite = new ButtonSprite(gameWindow, Menudimensions, 1008, 632, "bitmaps/construction_button_sprite.bmp");
		buttons.add(tempSprite);
		tempSprite = new ButtonSprite(gameWindow, Builddimensions, 1008, 716, "bitmaps/construction_button_sprite.bmp");
		buttons.add(tempSprite);
	}
}
